package com.lishe.lishe.lishe.module.me.others;

import android.annotation.SuppressLint;
import android.content.Context;
import android.util.AttributeSet;
import android.widget.Button;

/**
 * Created by zhcasecom on 2017/8/22.
 */

@SuppressLint("AppCompatCustomView")
public class MyButton extends Button {

    private int index = -1;
    private String addr_id;

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public MyButton(Context context) {
        super(context);
        // TODO: do something here if you want
    }

    public MyButton(Context context, AttributeSet attrs) {
        super(context, attrs);
        // TODO: do something here if you want
    }

    public MyButton(Context context, AttributeSet attrs, int defStyle) {
        super(context, attrs, defStyle);
        // TODO: do something here if you want
    }

    public void setAddrId(String addr_id) {
        this.addr_id = addr_id;
    }
}
